home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
extras
/
programm
/
gemfsc20
/
gemfsc20.lzh
/
GEMFBIND
/
VQTEXTNT.S
< prev
next >
Wrap
Text File
|
1993-03-26
|
1KB
|
39 lines
;*========================================================================
;* VDIFAST Public Domain VDI bindings.
;*========================================================================
;*------------------------------------------------------------------------
;* Inquire text extent.
;*------------------------------------------------------------------------
globl _vqt_extent
_vqt_extent:
; .cargs #8,handle.w,string.l,extent.l
handle = 8
string = 10
extent = 14
link a6,#0
move.l string(a6),a0 ;* Get pointer to string.
jsr vstr_stack ;* go convert ascii->ADE
; VContrl #116,,,d0
move.w handle(a6),-(sp) ; contrl[6]
clr.l -(sp) ; contrl[5,4]
move.w d0,-(sp) ; contrl[3]
subq.l #2,sp ; contrl[2]
clr.w -(sp) ; contrl[1]
move.w #116,-(sp) ; contrl[0]
move.l extent(a6),-(sp) ;* -> ptsout
subq.l #8,sp ;* -> intout, ptsin
move.l a0,-(sp) ;* -> intin
pea 16(sp) ;* -> contrl
jmp vdicall
end